package com.auto.base.params;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

@Data
public class BaseAutoConfig {
    @Value("${public.datasource.druid.driver-class-name}")
    private String dbDriverClassName;

    @Value("${public.datasource.druid.url}")
    private String dbUrl;

    @Value("${public.datasource.druid.username}")
    private String dbUsername;

    @Value("${public.datasource.druid.password}")
    private String dbPassword;

    @Value("${public.dubbo.registryAddress}")
    private String dubboRegistryAddress;

    @Value("${public.dubbo.registryGroup}")
    private String dubboRegistryGroup;

    @Value("${public.mq.access-key}")
    private String mqAccessKey;

    @Value("${public.mq.namesrv-addr}")
    private String mqSecretKey;

    @Value("${public.mq.namesrv-addr}")
    private String mqNamesrvAddr;

    @Value("${public.mq.type}")
    private String mqType;

    @Value("${public.mq.ctgmq.tenantID}")
    private String ctgMqTenantId;

    @Value("${public.mq.alimq.ONSAddr}")
    private String aliMqOnsAddr;

    @Value("${public.mq.ctgmq.clusterName}")
    private String ctgMqClusterName;

    @Value("${public.cache.server-list}")
    private String cacheServerList;

    @Value("${public.cache.password}")
    private String cachePassword;

    @Value("${public.cache.cache-type}")
    private String cacheType;

    @Value("${public.cache.group-prefix}")
    private String cacheGroupPrefix;
}
